//*****************************************************************************
//
// Copyright, (C) 2000-2005 Quantic Dream SA
//
// These coded instructions, statements and computer programs contain
// unpublished information, proprietary to Quantic Dream SA and are 
// protected by French and EEC copyright laws. They may not be 
// disclosed to third parties or copied or duplicated, in whole or in part, 
// without prior written consent of Quantic Dream SA
//
// Unpublished-rights reserved under the Copyright Laws of the EEC.
//
//*****************************************************************************
//
//	CLASS:	MATH_DEFINES
//	The MATH_DEFINES class implements ...
//
//	JJA : 2012-07-20 - Created
//*****************************************************************************

//=============================================================================
//	CODE STARTS HERE
//=============================================================================

#ifndef __MATH_DEFINES_H__
#define __MATH_DEFINES_H__

#include "..\Kernel\KernelDefines.h"
#include "vectormath/SSE/cpp/vectormath_aos.h"

// Typedefs
typedef DECLARE_ALIGNED( 16 ) Vectormath::Aos::Point3	POINT3;
typedef DECLARE_ALIGNED( 16 ) Vectormath::Aos::Vector3	VECTOR3;
typedef DECLARE_ALIGNED( 16 ) Vectormath::Aos::Vector4	VECTOR4;
typedef DECLARE_ALIGNED( 16 ) Vectormath::Aos::Quat		QUATERNION;
typedef DECLARE_ALIGNED( 16 ) Vectormath::Aos::Matrix4	MATRIX4;

// Common numbers
#define	DEGREE_TO_RADIAN_CONVERSION	0.01745329251994329576923690768489

// Conversions
#define	DEGREES_TO_RADIANS( angleInDegrees ) ( angleInDegrees * DEGREE_TO_RADIAN_CONVERSION )

#endif

//=============================================================================
//	CODE ENDS HERE
//=============================================================================
